package pro.lingwu.station.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import pro.lingwu.station.dto.db.Station;

import java.util.List;

/**
 * @author @lingwu
 * @date created in 2021/11/17
 */
@Mapper
public interface StationMapper {

    void addStation(Station station);

    void rmStation(Long id);

    Station findStationBy(Long id);

    void updateStation(Station statio);

    List<Station> getAllStations();

    long getTotal();
}
